package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.entity.UserEntity;
import org.apache.ibatis.annotations.*;

@Mapper
public interface UserMapper extends BaseMapper<UserEntity> {
    // 通过用户名密码查询用户数据
    UserEntity getByUserNameAndPassword(UserEntity user);

     Integer  registerUser(UserEntity userEntity);


}
